package cn.wen.springframework.test.event;import cn.wen.springframework.context.ApplicationListener;import cn.wen.springframework.context.event.ContextRefreshedEvent;/** * @ClassName: ContextRefreshedEventListener * @Author: 小飞 * @Date: 2023/3/28 22:27 * @Description: 刷新事件 */public class ContextRefreshedEventListener implements ApplicationListener<ContextRefreshedEvent> {    @Override    public void onApplicationEvent(ContextRefreshedEvent event) {        System.out.println("刷新事件：" + this.getClass().getName());    }}